package com.esc.service;


import com.esc.mapper.JiageMapper;
import com.esc.model.Jiage;
import com.esc.server.JiageServiceApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class JiageServiceImpl implements JiageServiceApi {

    @Autowired
    private JiageMapper jiageMapper;

    @RequestMapping("queryJiageList")
    public List<Jiage> queryJiageList() {
        return jiageMapper.queryJiageList();
    }
}
